using System;
using System.Data;
using System.Configuration;

using System.Collections.Generic;

namespace DAL.interfaces
{
    /// <summary>
    /// Returns an object from the current row in the data reader
    /// </summary>
    /// <typeparam name="T">The type to return</typeparam>
    public interface IManager<T>
    {
        //T GetFromDataReaderRow(SqlDataReader DR);
        T GetNewItem(params object[] list);

        T GetById(int id);
        T Insert(T t);
        T Update(T t);
        List<T> GetAll(int id);
    }
}